package com.bxj.wxtt.constant;

/**
 * 缓存过期枚举
 * Created by baixiujiang on 17/10/18.
 */
public class CacheConstant {

	// 秒
    public final static int EXPIRE_3_SECOND = 3;
    public final static int EXPIRE_5_SECOND = 5;
    // 分钟
    public final static int EXPIRE_MINUTE = 60;
    // 15分钟过期
    public final static int EXPIRE_15_MINUTE = 60 * 15;
    // 一小时过期
    public final static int EXPIRE_HOUR = 60 * 60;
    // 12小时过期
    public final static int EXPIRE_HOUR_12 = 60 * 60 * 12;
    // 一天过期
    public final static int EXPIRE_DAY = 60 * 60 * 24;
    // 一周过期
    public final static int EXPIRE_WEEK = 60 * 60 * 24 * 7;
    // 分钟
    public final static int REFRESH_MINUTE = 60;
    //禁用
    public final static int REFRESH_DISABLE = 0;
    // 15分钟
    public final static int REFRESH_15_MINUTE = 60 * 15;
    // 一小时
    public final static int REFRESH_HOUR = 60 * 60;
    // 一天
    public final static int REFRESH_DAY = 60 * 60 * 24;
    // 一周
    public final static int REFRESH_WEEK = 60 * 60 * 24 * 7;
}
